package com.gitee.cashzhang27.test.boot.other.entity;

/**
 * @author cash Zhang
 * @since 2019/02/13 13:27
 */
public class Person {

  //私有属性
  private String name = "Tom";
  //公有属性
  public int age = 18;

  //构造方法
  public Person() {
  }

  //私有方法
  private void say() {
    System.out.println("private say()...");
  }

  //公有方法
  public void work() {
    System.out.println("public work()...");
  }
}
